package com.core.family.admin.domain;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @author honglei
 * @version 1.0
 * @time: 2024-6-17 15:04:02
 * @Description PO对象 系统用户表
 */
@Data
@TableName(value = "uc_user")
public class User implements Serializable {


    /*
     *
     */
    @TableField(value = "id")
    private Integer id;

    /*
     *
     */
    @TableField(value = "org_id")
    private Integer orgId;

    /*
     *
     */
    @TableField(value = "username")
    private String username;

    /*
     *
     */
    @TableField(value = "password")
    private String password;

    /*
     *
     */
    @TableField(value = "email")
    private String email;

    /*
     *
     */
    @TableField(value = "mobile")
    private String mobile;

    /*
     *  头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /*
     *
     */
    @TableField(value = "unionid")
    private String unionid;

    /*
     *
     */
    @TableField(value = "openid")
    private String openid;

    /*
     *
     */
    @TableField(value = "other")
    private String other;

    /*
     *  状态
     */
    @TableField(value = "status")
    private Integer status;

    /*
     *
     */
    @TableField(value = "is_del")
    private Integer isDel;

    /*
     *
     */
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
     *
     */
    @TableField(value = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
